all: landscape.o glm.o tgaload.o
	g++ -w -o a fly.cpp -lglut -lGL -lGLU -lm landscape.h cockpit.h geometry.h ship.h glm.h tgaload.h landscape.o glm.o tgaload.o

landscape.o: landscape.h landscape.cpp
	g++ -w -c landscape.cpp

glm.o: glm.h glm.cpp
	g++ -w -c glm.cpp

tgaload.o: tgaload.h tgaload.cpp
	g++ -w -c tgaload.cpp

